package com.touch.workshop.ui.classeditor;
import javax.swing.*;
public class ClassEditorMenuBar extends JMenuBar
{
	private static final long serialVersionUID = 1129758086971749238L;
	protected FileMenu FILE;
	public ClassEditorMenuBar()
	{
		FILE = new FileMenu();
		this.add(FILE);
	}
	public class FileMenu extends JMenu
	{
		private static final long serialVersionUID = -4112834625644489516L;
		protected JMenuItem SAVE;
		protected JMenuItem SAVEAS;		
		protected JMenuItem NEW;
		public FileMenu()
		{
			super("File");
			this.SAVE = new JMenuItem("Save");
			this.SAVEAS = new JMenuItem("Save As");
			this.NEW = new JMenuItem("New");
			this.add(NEW);
			this.add(SAVE);
			this.add(SAVEAS);			
		}
	}
}
